import { serviceGet, servicePost } from "@/axios/index";

/** 获取轮播图的列表 */
export const GetListApi = () => {
  return serviceGet({
    url: "/api/Official/OfficalCarousel/GetList",
  });
};


/** 获取产品分页 */
export const ProductGetPageApi = (params: any) => {
  return serviceGet({
    url: "/api/Official/Product/GetPage",
    params
  });
};



/** 获取最新 */
export const ProductGetDataApi = (params: any) => {
  return serviceGet({
    url: "/api/Official/Product/GetData",
    params
  });
};